﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace aaaa
{
    public partial class frmMain : Form
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void toolStripMenuItem6_Click(object sender, EventArgs e)
        {
            XBAdd obj = new XBAdd();
            obj.MdiParent = this;
            obj.Show();
        }

        private void toolStripMenuItem7_Click(object sender, EventArgs e)
        {
            XBDel obj = new XBDel();
            obj.MdiParent = this;
            obj.Show();
        }

        private void toolStripMenuItem8_Click(object sender, EventArgs e)
        {
            XBUD obj = new XBUD();
            obj.MdiParent = this;
            obj.Show();
        }

        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            XBAdd obj = new XBAdd();
            obj.MdiParent = this;
            obj.Show();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            toolStripStatusLabel2.Text = DateTime.Now.ToString();
        }

        private void frmMain_Load(object sender, EventArgs e)
        {
            timer1.Start();
            Form1 obj = new Form1();
            obj.ShowDialog();
            if (!Class1.userbool)
            {
                Application.Exit();
            }
        }

        private void toolStripMenuItem22_Click(object sender, EventArgs e)
        {
            XBSel obj = new XBSel();
            obj.MdiParent = this;
            obj.Show();
        }

        private void toolStripMenuItem10_Click(object sender, EventArgs e)
        {
            ZYAdd obj = new ZYAdd();
            obj.MdiParent = this;
            obj.Show();
        }

        private void toolStripMenuItem11_Click(object sender, EventArgs e)
        {
            ZYDel obj = new ZYDel();
            obj.MdiParent = this;
            obj.Show();
        }

        private void toolStripMenuItem12_Click(object sender, EventArgs e)
        {
            ZYUD obj = new ZYUD();
            obj.MdiParent = this;
            obj.Show();
        }

        private void toolStripMenuItem23_Click(object sender, EventArgs e)
        {
            ZYSel obj = new ZYSel();
            obj.MdiParent = this;
            obj.Show();
        }

        private void toolStripMenuItem3_Click(object sender, EventArgs e)
        {
            
        }

        private void toolStripMenuItem15_Click(object sender, EventArgs e)
        {
            BJDel obj = new BJDel();
            obj.MdiParent = this;
            obj.Show();
        }

        private void toolStripMenuItem16_Click(object sender, EventArgs e)
        {
            BJUD obj = new BJUD();
            obj.MdiParent = this;
            obj.Show();
        }

        private void toolStripMenuItem24_Click(object sender, EventArgs e)
        {
            BJSel obj = new BJSel();
            obj.MdiParent = this;
            obj.Show();
        }

        private void toolStripMenuItem18_Click(object sender, EventArgs e)
        {
            StAdd obj = new StAdd();
            obj.MdiParent = this;
            obj.Show();
        }

        private void toolStripMenuItem19_Click(object sender, EventArgs e)
        {
            StDel obj = new StDel();
            obj.MdiParent = this;
            obj.Show();
        }

        private void toolStripMenuItem20_Click(object sender, EventArgs e)
        {
            StUD obj = new StUD();
            obj.MdiParent = this;
            obj.Show();
        }

        private void toolStripMenuItem25_Click(object sender, EventArgs e)
        {
            StSel obj = new StSel();
            obj.MdiParent = this;
            obj.Show();
        }

        private void toolStripMenuItem5_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void toolStripButton2_Click(object sender, EventArgs e)
        {
            ZYAdd obj = new ZYAdd();
            obj.MdiParent = this;
            obj.Show();
        }

        private void toolStripButton3_Click(object sender, EventArgs e)
        {
            BJAdd obj = new BJAdd();
            obj.MdiParent = this;
            obj.Show();
        }

        private void toolStripButton4_Click(object sender, EventArgs e)
        {
            StAdd obj = new StAdd();
            obj.MdiParent = this;
            obj.Show();
        }

        private void toolStripButton5_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

        private void toolStripMenuItem14_Click(object sender, EventArgs e)
        {
            BJAdd obj = new BJAdd();
            obj.MdiParent = this;
            obj.Show();
        }
    }
}
